package cn.yh.springbootjwt.service.impl;

import cn.yh.springbootjwt.domain.vo.CategoryListVo;
import cn.yh.springbootjwt.domain.vo.ProductCategoryVo;
import cn.yh.springbootjwt.mapper.CategoryMapper;
import cn.yh.springbootjwt.service.ICategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements ICategoryService {
    @Autowired
    private CategoryMapper categoryMapper;



    @Override
    public List<CategoryListVo> findAllCategory() {
        return categoryMapper.findAllCategory();
    }
}
